package com.banggood.upms.service;

import com.banggood.upms.bean.po.TreeTree;
import com.banggood.upms.bean.vo.TreeTreeVo;
import com.banggood.upms.bean.vo.search.TreeTreeSearchCriteria;

import java.util.List;

/**
 * @author XuChuangFeng
 */
public interface TreeTreeService extends BaseService<TreeTree> {
    List<TreeTree> selectByFromTreeIdAndTreeType(TreeTreeSearchCriteria criteria);
    String deleteAll(TreeTreeVo vo);

    String insertTreeTrees(List<TreeTree> treeTrees);

    String adjustTreeTrees(List<TreeTree> objForInsert, List<String> idsForRemove);
}
